<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<canvas id="canvas" width="640" height="480"></canvas>
<script src="test.js"></script>
<script>

    var ctx = document.getElementById('canvas').getContext('2d');

 //   BaseData.jiami(ctx,'mime.png',['我是汪冰','18岁']);

    BaseData.image('5.png',ctx,'-')

</script>
</body>
</html>